#ifndef _UTILS_H
#define _UTILS_H

int parse_get_params(const char* query, const char* key, char* value, int* value_len_p);
int verify_token(char* user, char* token);
char* return_status(char* status);
int trim_space(char* inbuf);
int get_file_suffix(const char* file_name, char* suffix);
int read_cfg(char* mysql_user, char* mysql_pwd, char* mysql_db);

#endif